package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.SmsHomeRecommendSubject;

import java.util.List;

/**
 * @author xyiaao
 * @description 针对表【sms_home_recommend_subject(首页推荐专题表)】的数据库操作Api
 * @createDate 2022-03-29 19:46:09
 */
public interface SmsHomeRecommendSubjectApi extends IService<SmsHomeRecommendSubject> {

    Page<SmsHomeRecommendSubject> listPage(Integer pageNum, Integer pageSize, String subjectName, Integer recommendStatus);

    List<SmsHomeRecommendSubject> findByIds(List<Long> ids, SmsHomeRecommendSubject subject);

    void updateByIds(List<Long> ids, SmsHomeRecommendSubject subject);

    void updateSort(Integer id, SmsHomeRecommendSubject subject);

}
